package com.yuan.service;

import com.yuan.dao.TestDao;
import com.yuan.entity.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TestService {
    @Autowired
    TestDao testDao;

    public Test getById(Integer id) {
        return testDao.getById(id);
    }
}
